package com.hd.assistant.dal.dao.orderming;

import java.util.List;

import com.hd.assistant.dal.dao.exception.DAOException;
import com.hd.assistant.dal.dataobject.ordermining.ITask;

public interface ITaskDAO {

	void insertTask(ITask task) throws DAOException;
	int updateTask(ITask task)throws DAOException;

	List<ITask> getTaskByUserIdAndType(Long userId,String type)throws DAOException;
	ITask getTaskByTaskId(Long taskId)throws DAOException;
	
}
